<?php
  
   require_once ("../../system/framework.php");      
  
  $form = new form();
  
  $table = $_REQUEST['table'];
  
  
  
  $field = array();
  $field[] = $_REQUEST['field'];
  
  $commandField = explode(",", $_REQUEST['commandfield']);
  
  if (sizeof($commandField)>0) {
      
     for ($n=0; $n < sizeof($commandField); $n++) 
      $field[] = $commandField[$n];
      
  }
  
  
  
 /* if (sizeof($commandField) > 0) {
      
      
      
  } */
  
  
  
  
  /*$commandField = array();
  $commandField[] = "file_filename";  
  $commandField[] = "file_filenametext"; */ 
  
  $form->saveForm($table, $field, $commandField);
  
?>
